package com.zjjt.dc.modules.datacatch.template;

public interface IExchangeLWTemplate {
    public final String BASE_URL = "http://210.51.191.22:6070/";

    //公共
    public final String NAME = "name"; // api名称
    public final String RESULT_CODE = "RETCODE"; // 返回码
    public final String PARAMS = "ARGS"; //返回提示信息中的参数列表，“|” 分割参数
    public final String TOTAL_COUNT = "TC"; //总记录数


    // 用户登录
    public final String USER_ID = "U"; // 用户ID
    public final String USER_PWD = "P"; // 用户密码
    public final String USER_KEY = "KC"; // 用户密钥
    public final String RANDOM_KEY = "RK"; // 随机密钥
    public final String TRANSFORM_ID = "TI"; // 转换ID
    public final String LOGIN_TYPE = "LT"; // 登录方式
    public final String ENCRYPT_CODE = "EC"; // 加密方式
    public final String DEVICE_ID = "DI"; // 设备ID


    //用户登录返回
    public final String SYSTEM_ID = "SYI"; //当前登录系统编号
    public final String PERMISSION_SYSTEM_ID = "JSI"; //有权限的系统编号，多个用英文分号分隔。例如：201;301
    public final String FUND_TYPE = "FUT"; // 资金类型 0：主账户 1：附属账户
    public final String LOGIN_TIME = "LT"; // 上次登录时间
    public final String LOGIN_IP = "LI"; // 上次登录IP
    public final String CHANGE_PWD = "CP"; // 是否修改密码 1：是 2：否
    public final String CHANGE_FUND_PWD = "CFP"; // 是否修改资金密码 1：是 2：否
    public final String REAL_STATUS = "RST"; // 实名认证状态 0：未认证 1:审核中 2：已认证
    public final String USER_IDENTITY = "I"; // 用户身份 0: 客户 1: 会员
    public final String USER_NAME = "N"; // 登录用户名称
    public final String USER_NICKNAME = "NN"; // 用户昵称
    public final String IS_SET_NICKNAME = "ISNN"; // 是否设置昵称 1: 已设置 2: 未设置
    public final String USER_TYPE = "UT"; // 交易员类型： 1：超级交易员 2：高级交易员 3：普通交易员"
    public final String USER_AVATAR = "UPL"; // 用户头像图片地址
    public final String TRANSFORM_RECORD = "TR"; // 服务端登录过程中每个操作的耗时当客户端通过TI节点传送随机串后，该节点要返回登录过程中每个操作的耗时，客户端将该内容写到日志中

    //订单查询 订单历史查询

    //订单查询返回


    //持仓汇总查询（一次查所有）

    public final String PRODUCT_CODE = "COI";
    public final String PRODUCT_NAME = "CON";
    public final String HOLDING_QUANTITY = "HQ"; //持仓数量
    public final String AVG_INVENTORY_PRICE = "HAP"; // 平均持仓成本
    public final String ORDER_FROZEN_QUANTITY = "OFQ"; // 冻结数量
    public final String SALE_LIMIT_FROZEN_QUANTITY = "LFQ"; // 卖出限价冻结数量
    public final String DELIVERY_APPLY_QUANTITY = "DQ"; // 交收申请数量
    public final String POSITION_AMOUNT = "HF"; // 持仓金额
    public final String VALUE_CHANGE = "HPL"; // 货值变化
    public final String SELLABLE_QUANTITY = "TDE"; // 可卖数量
    public final String AVAILABLE_QUANTITY = "CUQ"; // 可用数量
    public final String MARKET_PRICE = "MV"; // 市值




    //提货申请 提货历史查询

    public final String STARTID = "LTI"; //基准号ID(第一次填0)
    public final String RECEIVE_COUNT = "RECCNT"; // 要多少条记录 大于0向上查最新的记录 小于0向下查之前的记录
    public final String START_DATE_TIME = "SDT"; //
    public final String END_DATE_TIME = "EDT";
    public final String SESSON_ID = "SI";
    //提货申请查询返回

    public final String DELIVERY_APPLY_ID = "DAI"; //交收申请ID
    public final String GOODS_ID = "COI"; //商品代码
    public final String GOODS_NAME = "CON"; //商品名称
    public final String DELIVERY_QUANTITY = "DQ"; // 交收数量
    public final String APPLY_QUANTITY = "AQ"; // 申请件数
    public final String DEADLINE_DATE = "DD"; // 最晚提货时间
    public final String PERSON_CODE = "PR"; // 用户代码
    public final String PERSON_NAME = "PN"; // 用户名称
    public final String PERSON_TYPE = "PT"; // 用户类型
    public final String COMMIT_TIME = "CT"; // 申请时间

    //客户信息查询返回
    public final String CUSTOMER_CODD = "UD"; //客户代码
    public final String CUSTOMER_NAME = "UNM"; //客户名称
    public final String CUSTOMER_STATUS = "S"; //仓库代码
    public final String IS_FROZEN = "FNG"; // 是否冻结(Y:已冻结 N:未冻结)
    public final String OPEN_TIME = "CTM"; // 开仓时间
    public final String SETTLEMENT_ACCOUNT = "FCID"; // 结算账户
    public final String ID_NUMBER = "CTO"; // 身份证号
    public final String PHONE_NUMBER = "TFN"; // 手机号
    public final String CONTACT_PERSON = "CMN"; // 联系人
    


    //仓单出库申请
    public final String WM_ID = "WMI"; // 仓库管理员ID
    public final String WM_PW = "WMP"; // 仓库管理员密码
    public final String START_DATE = "SD"; // 开始日期
    public final String END_DATE = "ED"; // 结束日期
    public final String BIZ_ID = "BI"; // 品种ID


    //仓单出库申请返回
    public final String OUT_STOCK_ID = "OAI"; // 出库编号
    public final String BILL_ID = "BII"; //仓单号
    public final String USER_RECEIVE_ID = "UI"; //用户代码
    public final String USER_RECEIVE_NAME = "UNA"; //用户代码
    public final String ORIGINAL_VOUCHER_ID = "OVI"; //仓单原始凭证号
    public final String BREED_ID = "BRI"; // 品种代码
    public final String BREED_NAME = "BRN"; // 品种名称
    public final String WAREHOUSE_ID = "WHI"; // 仓库编号
    public final String WAREHOUSE_NAME = "WHN"; // 仓库名称
    public final String COUNT = "CQ"; // 商品数量
    public final String UNIT = "UN"; // 商品单位
    public final String DELIVERY_TYPE = "DT"; // 出库方式： 0：自提 1：配送
    public final String DELIVERY_STATUS = "BS"; // 出库状态：0：出库申请 1：已设置配送费用 2：已确定配送费用 3：出库完成 4：撤销
    public final String DELIVERY_FEE = "DF"; // 配送费
    public final String CREATE_TIME = "CT"; // 创建时间
    public final String PASS_TIME = "PT"; // 处理时间
    public final String EXPRESS_COMPANY = "EC"; // 配送公司
    public final String EXPRESS_NO = "EN"; // 配送单号
    public final String RECEIVER_NAME = "DP"; // 收货人姓名
    public final String RECEIVER_TEL = "TEL"; // 收货人手机号
    public final String RECEIVER_ADDRESS = "DA"; // 收货地址
    public final String BASE_TIME = "BT";
}
